package mn.idax.exchange.otc.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AccountTransactionExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AccountTransactionExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andNumIsNull() {
            addCriterion("Num is null");
            return (Criteria) this;
        }

        public Criteria andNumIsNotNull() {
            addCriterion("Num is not null");
            return (Criteria) this;
        }

        public Criteria andNumEqualTo(Long value) {
            addCriterion("Num =", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotEqualTo(Long value) {
            addCriterion("Num <>", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumGreaterThan(Long value) {
            addCriterion("Num >", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumGreaterThanOrEqualTo(Long value) {
            addCriterion("Num >=", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumLessThan(Long value) {
            addCriterion("Num <", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumLessThanOrEqualTo(Long value) {
            addCriterion("Num <=", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumIn(List<Long> values) {
            addCriterion("Num in", values, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotIn(List<Long> values) {
            addCriterion("Num not in", values, "num");
            return (Criteria) this;
        }

        public Criteria andNumBetween(Long value1, Long value2) {
            addCriterion("Num between", value1, value2, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotBetween(Long value1, Long value2) {
            addCriterion("Num not between", value1, value2, "num");
            return (Criteria) this;
        }

        public Criteria andIdIsNull() {
            addCriterion("Id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("Id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("Id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("Id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("Id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("Id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("Id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("Id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("Id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("Id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("Id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("Id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("Id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("Id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAccountidIsNull() {
            addCriterion("AccountId is null");
            return (Criteria) this;
        }

        public Criteria andAccountidIsNotNull() {
            addCriterion("AccountId is not null");
            return (Criteria) this;
        }

        public Criteria andAccountidEqualTo(Integer value) {
            addCriterion("AccountId =", value, "accountid");
            return (Criteria) this;
        }

        public Criteria andAccountidNotEqualTo(Integer value) {
            addCriterion("AccountId <>", value, "accountid");
            return (Criteria) this;
        }

        public Criteria andAccountidGreaterThan(Integer value) {
            addCriterion("AccountId >", value, "accountid");
            return (Criteria) this;
        }

        public Criteria andAccountidGreaterThanOrEqualTo(Integer value) {
            addCriterion("AccountId >=", value, "accountid");
            return (Criteria) this;
        }

        public Criteria andAccountidLessThan(Integer value) {
            addCriterion("AccountId <", value, "accountid");
            return (Criteria) this;
        }

        public Criteria andAccountidLessThanOrEqualTo(Integer value) {
            addCriterion("AccountId <=", value, "accountid");
            return (Criteria) this;
        }

        public Criteria andAccountidIn(List<Integer> values) {
            addCriterion("AccountId in", values, "accountid");
            return (Criteria) this;
        }

        public Criteria andAccountidNotIn(List<Integer> values) {
            addCriterion("AccountId not in", values, "accountid");
            return (Criteria) this;
        }

        public Criteria andAccountidBetween(Integer value1, Integer value2) {
            addCriterion("AccountId between", value1, value2, "accountid");
            return (Criteria) this;
        }

        public Criteria andAccountidNotBetween(Integer value1, Integer value2) {
            addCriterion("AccountId not between", value1, value2, "accountid");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("UserId is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("UserId is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Integer value) {
            addCriterion("UserId =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Integer value) {
            addCriterion("UserId <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Integer value) {
            addCriterion("UserId >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("UserId >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Integer value) {
            addCriterion("UserId <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Integer value) {
            addCriterion("UserId <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Integer> values) {
            addCriterion("UserId in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Integer> values) {
            addCriterion("UserId not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Integer value1, Integer value2) {
            addCriterion("UserId between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Integer value1, Integer value2) {
            addCriterion("UserId not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andTransactiontypeIsNull() {
            addCriterion("TransactionType is null");
            return (Criteria) this;
        }

        public Criteria andTransactiontypeIsNotNull() {
            addCriterion("TransactionType is not null");
            return (Criteria) this;
        }

        public Criteria andTransactiontypeEqualTo(Integer value) {
            addCriterion("TransactionType =", value, "transactiontype");
            return (Criteria) this;
        }

        public Criteria andTransactiontypeNotEqualTo(Integer value) {
            addCriterion("TransactionType <>", value, "transactiontype");
            return (Criteria) this;
        }

        public Criteria andTransactiontypeGreaterThan(Integer value) {
            addCriterion("TransactionType >", value, "transactiontype");
            return (Criteria) this;
        }

        public Criteria andTransactiontypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("TransactionType >=", value, "transactiontype");
            return (Criteria) this;
        }

        public Criteria andTransactiontypeLessThan(Integer value) {
            addCriterion("TransactionType <", value, "transactiontype");
            return (Criteria) this;
        }

        public Criteria andTransactiontypeLessThanOrEqualTo(Integer value) {
            addCriterion("TransactionType <=", value, "transactiontype");
            return (Criteria) this;
        }

        public Criteria andTransactiontypeIn(List<Integer> values) {
            addCriterion("TransactionType in", values, "transactiontype");
            return (Criteria) this;
        }

        public Criteria andTransactiontypeNotIn(List<Integer> values) {
            addCriterion("TransactionType not in", values, "transactiontype");
            return (Criteria) this;
        }

        public Criteria andTransactiontypeBetween(Integer value1, Integer value2) {
            addCriterion("TransactionType between", value1, value2, "transactiontype");
            return (Criteria) this;
        }

        public Criteria andTransactiontypeNotBetween(Integer value1, Integer value2) {
            addCriterion("TransactionType not between", value1, value2, "transactiontype");
            return (Criteria) this;
        }

        public Criteria andAvailablechangeIsNull() {
            addCriterion("AvailableChange is null");
            return (Criteria) this;
        }

        public Criteria andAvailablechangeIsNotNull() {
            addCriterion("AvailableChange is not null");
            return (Criteria) this;
        }

        public Criteria andAvailablechangeEqualTo(BigDecimal value) {
            addCriterion("AvailableChange =", value, "availablechange");
            return (Criteria) this;
        }

        public Criteria andAvailablechangeNotEqualTo(BigDecimal value) {
            addCriterion("AvailableChange <>", value, "availablechange");
            return (Criteria) this;
        }

        public Criteria andAvailablechangeGreaterThan(BigDecimal value) {
            addCriterion("AvailableChange >", value, "availablechange");
            return (Criteria) this;
        }

        public Criteria andAvailablechangeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("AvailableChange >=", value, "availablechange");
            return (Criteria) this;
        }

        public Criteria andAvailablechangeLessThan(BigDecimal value) {
            addCriterion("AvailableChange <", value, "availablechange");
            return (Criteria) this;
        }

        public Criteria andAvailablechangeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("AvailableChange <=", value, "availablechange");
            return (Criteria) this;
        }

        public Criteria andAvailablechangeIn(List<BigDecimal> values) {
            addCriterion("AvailableChange in", values, "availablechange");
            return (Criteria) this;
        }

        public Criteria andAvailablechangeNotIn(List<BigDecimal> values) {
            addCriterion("AvailableChange not in", values, "availablechange");
            return (Criteria) this;
        }

        public Criteria andAvailablechangeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AvailableChange between", value1, value2, "availablechange");
            return (Criteria) this;
        }

        public Criteria andAvailablechangeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AvailableChange not between", value1, value2, "availablechange");
            return (Criteria) this;
        }

        public Criteria andFrozenchangeIsNull() {
            addCriterion("FrozenChange is null");
            return (Criteria) this;
        }

        public Criteria andFrozenchangeIsNotNull() {
            addCriterion("FrozenChange is not null");
            return (Criteria) this;
        }

        public Criteria andFrozenchangeEqualTo(BigDecimal value) {
            addCriterion("FrozenChange =", value, "frozenchange");
            return (Criteria) this;
        }

        public Criteria andFrozenchangeNotEqualTo(BigDecimal value) {
            addCriterion("FrozenChange <>", value, "frozenchange");
            return (Criteria) this;
        }

        public Criteria andFrozenchangeGreaterThan(BigDecimal value) {
            addCriterion("FrozenChange >", value, "frozenchange");
            return (Criteria) this;
        }

        public Criteria andFrozenchangeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("FrozenChange >=", value, "frozenchange");
            return (Criteria) this;
        }

        public Criteria andFrozenchangeLessThan(BigDecimal value) {
            addCriterion("FrozenChange <", value, "frozenchange");
            return (Criteria) this;
        }

        public Criteria andFrozenchangeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("FrozenChange <=", value, "frozenchange");
            return (Criteria) this;
        }

        public Criteria andFrozenchangeIn(List<BigDecimal> values) {
            addCriterion("FrozenChange in", values, "frozenchange");
            return (Criteria) this;
        }

        public Criteria andFrozenchangeNotIn(List<BigDecimal> values) {
            addCriterion("FrozenChange not in", values, "frozenchange");
            return (Criteria) this;
        }

        public Criteria andFrozenchangeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("FrozenChange between", value1, value2, "frozenchange");
            return (Criteria) this;
        }

        public Criteria andFrozenchangeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("FrozenChange not between", value1, value2, "frozenchange");
            return (Criteria) this;
        }

        public Criteria andAccountavailableamountIsNull() {
            addCriterion("AccountAvailableAmount is null");
            return (Criteria) this;
        }

        public Criteria andAccountavailableamountIsNotNull() {
            addCriterion("AccountAvailableAmount is not null");
            return (Criteria) this;
        }

        public Criteria andAccountavailableamountEqualTo(BigDecimal value) {
            addCriterion("AccountAvailableAmount =", value, "accountavailableamount");
            return (Criteria) this;
        }

        public Criteria andAccountavailableamountNotEqualTo(BigDecimal value) {
            addCriterion("AccountAvailableAmount <>", value, "accountavailableamount");
            return (Criteria) this;
        }

        public Criteria andAccountavailableamountGreaterThan(BigDecimal value) {
            addCriterion("AccountAvailableAmount >", value, "accountavailableamount");
            return (Criteria) this;
        }

        public Criteria andAccountavailableamountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("AccountAvailableAmount >=", value, "accountavailableamount");
            return (Criteria) this;
        }

        public Criteria andAccountavailableamountLessThan(BigDecimal value) {
            addCriterion("AccountAvailableAmount <", value, "accountavailableamount");
            return (Criteria) this;
        }

        public Criteria andAccountavailableamountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("AccountAvailableAmount <=", value, "accountavailableamount");
            return (Criteria) this;
        }

        public Criteria andAccountavailableamountIn(List<BigDecimal> values) {
            addCriterion("AccountAvailableAmount in", values, "accountavailableamount");
            return (Criteria) this;
        }

        public Criteria andAccountavailableamountNotIn(List<BigDecimal> values) {
            addCriterion("AccountAvailableAmount not in", values, "accountavailableamount");
            return (Criteria) this;
        }

        public Criteria andAccountavailableamountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AccountAvailableAmount between", value1, value2, "accountavailableamount");
            return (Criteria) this;
        }

        public Criteria andAccountavailableamountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AccountAvailableAmount not between", value1, value2, "accountavailableamount");
            return (Criteria) this;
        }

        public Criteria andAccountfrozenamountIsNull() {
            addCriterion("AccountFrozenAmount is null");
            return (Criteria) this;
        }

        public Criteria andAccountfrozenamountIsNotNull() {
            addCriterion("AccountFrozenAmount is not null");
            return (Criteria) this;
        }

        public Criteria andAccountfrozenamountEqualTo(BigDecimal value) {
            addCriterion("AccountFrozenAmount =", value, "accountfrozenamount");
            return (Criteria) this;
        }

        public Criteria andAccountfrozenamountNotEqualTo(BigDecimal value) {
            addCriterion("AccountFrozenAmount <>", value, "accountfrozenamount");
            return (Criteria) this;
        }

        public Criteria andAccountfrozenamountGreaterThan(BigDecimal value) {
            addCriterion("AccountFrozenAmount >", value, "accountfrozenamount");
            return (Criteria) this;
        }

        public Criteria andAccountfrozenamountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("AccountFrozenAmount >=", value, "accountfrozenamount");
            return (Criteria) this;
        }

        public Criteria andAccountfrozenamountLessThan(BigDecimal value) {
            addCriterion("AccountFrozenAmount <", value, "accountfrozenamount");
            return (Criteria) this;
        }

        public Criteria andAccountfrozenamountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("AccountFrozenAmount <=", value, "accountfrozenamount");
            return (Criteria) this;
        }

        public Criteria andAccountfrozenamountIn(List<BigDecimal> values) {
            addCriterion("AccountFrozenAmount in", values, "accountfrozenamount");
            return (Criteria) this;
        }

        public Criteria andAccountfrozenamountNotIn(List<BigDecimal> values) {
            addCriterion("AccountFrozenAmount not in", values, "accountfrozenamount");
            return (Criteria) this;
        }

        public Criteria andAccountfrozenamountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AccountFrozenAmount between", value1, value2, "accountfrozenamount");
            return (Criteria) this;
        }

        public Criteria andAccountfrozenamountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AccountFrozenAmount not between", value1, value2, "accountfrozenamount");
            return (Criteria) this;
        }

        public Criteria andAccountamountIsNull() {
            addCriterion("AccountAmount is null");
            return (Criteria) this;
        }

        public Criteria andAccountamountIsNotNull() {
            addCriterion("AccountAmount is not null");
            return (Criteria) this;
        }

        public Criteria andAccountamountEqualTo(BigDecimal value) {
            addCriterion("AccountAmount =", value, "accountamount");
            return (Criteria) this;
        }

        public Criteria andAccountamountNotEqualTo(BigDecimal value) {
            addCriterion("AccountAmount <>", value, "accountamount");
            return (Criteria) this;
        }

        public Criteria andAccountamountGreaterThan(BigDecimal value) {
            addCriterion("AccountAmount >", value, "accountamount");
            return (Criteria) this;
        }

        public Criteria andAccountamountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("AccountAmount >=", value, "accountamount");
            return (Criteria) this;
        }

        public Criteria andAccountamountLessThan(BigDecimal value) {
            addCriterion("AccountAmount <", value, "accountamount");
            return (Criteria) this;
        }

        public Criteria andAccountamountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("AccountAmount <=", value, "accountamount");
            return (Criteria) this;
        }

        public Criteria andAccountamountIn(List<BigDecimal> values) {
            addCriterion("AccountAmount in", values, "accountamount");
            return (Criteria) this;
        }

        public Criteria andAccountamountNotIn(List<BigDecimal> values) {
            addCriterion("AccountAmount not in", values, "accountamount");
            return (Criteria) this;
        }

        public Criteria andAccountamountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AccountAmount between", value1, value2, "accountamount");
            return (Criteria) this;
        }

        public Criteria andAccountamountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AccountAmount not between", value1, value2, "accountamount");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCoincodeIsNull() {
            addCriterion("CoinCode is null");
            return (Criteria) this;
        }

        public Criteria andCoincodeIsNotNull() {
            addCriterion("CoinCode is not null");
            return (Criteria) this;
        }

        public Criteria andCoincodeEqualTo(String value) {
            addCriterion("CoinCode =", value, "coincode");
            return (Criteria) this;
        }

        public Criteria andCoincodeNotEqualTo(String value) {
            addCriterion("CoinCode <>", value, "coincode");
            return (Criteria) this;
        }

        public Criteria andCoincodeGreaterThan(String value) {
            addCriterion("CoinCode >", value, "coincode");
            return (Criteria) this;
        }

        public Criteria andCoincodeGreaterThanOrEqualTo(String value) {
            addCriterion("CoinCode >=", value, "coincode");
            return (Criteria) this;
        }

        public Criteria andCoincodeLessThan(String value) {
            addCriterion("CoinCode <", value, "coincode");
            return (Criteria) this;
        }

        public Criteria andCoincodeLessThanOrEqualTo(String value) {
            addCriterion("CoinCode <=", value, "coincode");
            return (Criteria) this;
        }

        public Criteria andCoincodeLike(String value) {
            addCriterion("CoinCode like", value, "coincode");
            return (Criteria) this;
        }

        public Criteria andCoincodeNotLike(String value) {
            addCriterion("CoinCode not like", value, "coincode");
            return (Criteria) this;
        }

        public Criteria andCoincodeIn(List<String> values) {
            addCriterion("CoinCode in", values, "coincode");
            return (Criteria) this;
        }

        public Criteria andCoincodeNotIn(List<String> values) {
            addCriterion("CoinCode not in", values, "coincode");
            return (Criteria) this;
        }

        public Criteria andCoincodeBetween(String value1, String value2) {
            addCriterion("CoinCode between", value1, value2, "coincode");
            return (Criteria) this;
        }

        public Criteria andCoincodeNotBetween(String value1, String value2) {
            addCriterion("CoinCode not between", value1, value2, "coincode");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("UpdateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("UpdateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("UpdateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UpdateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("UpdateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("UpdateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("UpdateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("UpdateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("UpdateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("UpdateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}